# -*-coding:utf-8-*-
# ProjectName: smart-meter-iot-test
# FileName: randomUtil.py
# @DateTime :2023/3/2 17:29
# @Author :
# @Description:�����������

import random


def get_random_name(description: str) -> str:
    """
    �����������
    :param description:��������
    :return: str
    """

    return description + f"{random.randint(1, 10000)}"


def get_random_integer(number: int) -> int:
    """
    �����������
    :param:number: �����Χ�ڵĽ�ֹ����int
    :return:int
    """
    return random.randint(1, number)


def get_random_phone():
    first = random.choice(["135", "136", "185", "188", "186"])
    last = random.randint(10000000, 99999999)
    return first + str(last)


if __name__ == '__main__':
    print(get_random_phone())
